import { randomIntNum } from './num'

export const beautifulColors = [
  '#3BE',
  '#09C',
  '#A6C',
  '#93C',
  '#9C0',
  '#690',
  '#FB3',
  '#F80',
  '#F44',
  '#C00'
]

/**
 * 获取漂亮的随机颜色
 */
export function beautifulRandomColor(): string {
  return beautifulColors[randomIntNum(beautifulColors.length)]
}

